package com.fun.easyplugin.spring.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * TODO ${注释}
 *
 * @author <a href="mailto:huangzf1778@fingard.com">huang zifan</a>
 * @version 1.0
 * <p>
 * Copyright (c) 2009 fingard System Engineering Co., Ltd.
 * All rights reserved.
 * <p>
 * This software is the confidential and proprietary information of
 * fingard System Engineering Co., Ltd. ("Confidential Information").
 * You shall not disclose such Confidential Information and shall use it
 * only in accordance with the terms of the license agreement you entered
 * into with fingard.
 * @projectName: easy-plugin
 * @date 2024/6/7
 */
@Component
@Data
public class MoneyProperties {

    /**
     * 货币单位
     */
    @Value("${money.unit}")
    private String unit;

    /**
     * 金币是否允许为负数
     */
    @Value("${money.allow-negative}")
    private boolean allowNegative;

}
